3.685 \(\int x^2 (a+b x^2)^{2/3} \, dx\)

Optimal. Leaf size=577 \[ \frac {12 \sqrt {2} 3^{3/4} a^{7/3} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} \operatorname {EllipticF}\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right ),4 \sqrt {3}-7\right )}{91 b^2 x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}-\frac {18 \sqrt [4]{3} \sqrt {2+\sqrt {3}} a^{7/3} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}\right )|-7+4 \sqrt {3}\right )}{91 b^2 x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}+\frac {36 a^2 x}{91 b \left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}+\frac {12 a x \left (a+b x^2\right )^{2/3}}{91 b}+\frac {3}{13} x^3 \left (a+b x^2\right )^{2/3} \]

[Out]

12/91*a*x*(b*x^2+a)^(2/3)/b+3/13*x^3*(b*x^2+a)^(2/3)+36/91*a^2*x/b/(-(b*x^2+a)^(1/3)+a^(1/3)*(1-3^(1/2)))+12/9
1*3^(3/4)*a^(7/3)*(a^(1/3)-(b*x^2+a)^(1/3))*EllipticF((-(b*x^2+a)^(1/3)+a^(1/3)*(1+3^(1/2)))/(-(b*x^2+a)^(1/3)
+a^(1/3)*(1-3^(1/2))),2*I-I*3^(1/2))*2^(1/2)*((a^(2/3)+a^(1/3)*(b*x^2+a)^(1/3)+(b*x^2+a)^(2/3))/(-(b*x^2+a)^(1
/3)+a^(1/3)*(1-3^(1/2)))^2)^(1/2)/b^2/x/(-a^(1/3)*(a^(1/3)-(b*x^2+a)^(1/3))/(-(b*x^2+a)^(1/3)+a^(1/3)*(1-3^(1/
2)))^2)^(1/2)-18/91*3^(1/4)*a^(7/3)*(a^(1/3)-(b*x^2+a)^(1/3))*EllipticE((-(b*x^2+a)^(1/3)+a^(1/3)*(1+3^(1/2)))
/(-(b*x^2+a)^(1/3)+a^(1/3)*(1-3^(1/2))),2*I-I*3^(1/2))*((a^(2/3)+a^(1/3)*(b*x^2+a)^(1/3)+(b*x^2+a)^(2/3))/(-(b
*x^2+a)^(1/3)+a^(1/3)*(1-3^(1/2)))^2)^(1/2)*(1/2*6^(1/2)+1/2*2^(1/2))/b^2/x/(-a^(1/3)*(a^(1/3)-(b*x^2+a)^(1/3)
)/(-(b*x^2+a)^(1/3)+a^(1/3)*(1-3^(1/2)))^2)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.37, antiderivative size = 577, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {279, 321, 235, 304, 219, 1879} \[ \frac {12 \sqrt {2} 3^{3/4} a^{7/3} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}\right )|-7+4 \sqrt {3}\right )}{91 b^2 x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}-\frac {18 \sqrt [4]{3} \sqrt {2+\sqrt {3}} a^{7/3} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}\right )|-7+4 \sqrt {3}\right )}{91 b^2 x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}+\frac {36 a^2 x}{91 b \left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}+\frac {3}{13} x^3 \left (a+b x^2\right )^{2/3}+\frac {12 a x \left (a+b x^2\right )^{2/3}}{91 b} \]

Antiderivative was successfully verified.

[In]

Int[x^2*(a + b*x^2)^(2/3),x]

[Out]

(12*a*x*(a + b*x^2)^(2/3))/(91*b) + (3*x^3*(a + b*x^2)^(2/3))/13 + (36*a^2*x)/(91*b*((1 - Sqrt[3])*a^(1/3) - (
a + b*x^2)^(1/3))) - (18*3^(1/4)*Sqrt[2 + Sqrt[3]]*a^(7/3)*(a^(1/3) - (a + b*x^2)^(1/3))*Sqrt[(a^(2/3) + a^(1/
3)*(a + b*x^2)^(1/3) + (a + b*x^2)^(2/3))/((1 - Sqrt[3])*a^(1/3) - (a + b*x^2)^(1/3))^2]*EllipticE[ArcSin[((1
+ Sqrt[3])*a^(1/3) - (a + b*x^2)^(1/3))/((1 - Sqrt[3])*a^(1/3) - (a + b*x^2)^(1/3))], -7 + 4*Sqrt[3]])/(91*b^2
*x*Sqrt[-((a^(1/3)*(a^(1/3) - (a + b*x^2)^(1/3)))/((1 - Sqrt[3])*a^(1/3) - (a + b*x^2)^(1/3))^2)]) + (12*Sqrt[
2]*3^(3/4)*a^(7/3)*(a^(1/3) - (a + b*x^2)^(1/3))*Sqrt[(a^(2/3) + a^(1/3)*(a + b*x^2)^(1/3) + (a + b*x^2)^(2/3)
)/((1 - Sqrt[3])*a^(1/3) - (a + b*x^2)^(1/3))^2]*EllipticF[ArcSin[((1 + Sqrt[3])*a^(1/3) - (a + b*x^2)^(1/3))/
((1 - Sqrt[3])*a^(1/3) - (a + b*x^2)^(1/3))], -7 + 4*Sqrt[3]])/(91*b^2*x*Sqrt[-((a^(1/3)*(a^(1/3) - (a + b*x^2
)^(1/3)))/((1 - Sqrt[3])*a^(1/3) - (a + b*x^2)^(1/3))^2)])

Rule 219

Int[1/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Simp[(2*Sqr
t[2 - Sqrt[3]]*(s + r*x)*Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 - Sqrt[3])*s + r*x)^2]*EllipticF[ArcSin[((1 + Sqrt[3
])*s + r*x)/((1 - Sqrt[3])*s + r*x)], -7 + 4*Sqrt[3]])/(3^(1/4)*r*Sqrt[a + b*x^3]*Sqrt[-((s*(s + r*x))/((1 - S
qrt[3])*s + r*x)^2)]), x]] /; FreeQ[{a, b}, x] && NegQ[a]

Rule 235

Int[((a_) + (b_.)*(x_)^2)^(-1/3), x_Symbol] :> Dist[(3*Sqrt[b*x^2])/(2*b*x), Subst[Int[x/Sqrt[-a + x^3], x], x
, (a + b*x^2)^(1/3)], x] /; FreeQ[{a, b}, x]

Rule 279

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[((c*x)^(m + 1)*(a + b*x^n)^p)/(c*(m +
n*p + 1)), x] + Dist[(a*n*p)/(m + n*p + 1), Int[(c*x)^m*(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b, c, m}, x]
&& IGtQ[n, 0] && GtQ[p, 0] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 304

Int[(x_)/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, -Dist[(S
qrt[2]*s)/(Sqrt[2 - Sqrt[3]]*r), Int[1/Sqrt[a + b*x^3], x], x] + Dist[1/r, Int[((1 + Sqrt[3])*s + r*x)/Sqrt[a
+ b*x^3], x], x]] /; FreeQ[{a, b}, x] && NegQ[a]

Rule 321

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c^(n - 1)*(c*x)^(m - n + 1)*(a + b*x^n
)^(p + 1))/(b*(m + n*p + 1)), x] - Dist[(a*c^n*(m - n + 1))/(b*(m + n*p + 1)), Int[(c*x)^(m - n)*(a + b*x^n)^p
, x], x] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && GtQ[m, n - 1] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b,
 c, n, m, p, x]

Rule 1879

Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Simplify[((1 + Sqrt[3])*d)/c]]
, s = Denom[Simplify[((1 + Sqrt[3])*d)/c]]}, Simp[(2*d*s^3*Sqrt[a + b*x^3])/(a*r^2*((1 - Sqrt[3])*s + r*x)), x
] + Simp[(3^(1/4)*Sqrt[2 + Sqrt[3]]*d*s*(s + r*x)*Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 - Sqrt[3])*s + r*x)^2]*Elli
pticE[ArcSin[((1 + Sqrt[3])*s + r*x)/((1 - Sqrt[3])*s + r*x)], -7 + 4*Sqrt[3]])/(r^2*Sqrt[a + b*x^3]*Sqrt[-((s
*(s + r*x))/((1 - Sqrt[3])*s + r*x)^2)]), x]] /; FreeQ[{a, b, c, d}, x] && NegQ[a] && EqQ[b*c^3 - 2*(5 + 3*Sqr
t[3])*a*d^3, 0]

Rubi steps

\begin {align*} \int x^2 \left (a+b x^2\right )^{2/3} \, dx &=\frac {3}{13} x^3 \left (a+b x^2\right )^{2/3}+\frac {1}{13} (4 a) \int \frac {x^2}{\sqrt [3]{a+b x^2}} \, dx\\ &=\frac {12 a x \left (a+b x^2\right )^{2/3}}{91 b}+\frac {3}{13} x^3 \left (a+b x^2\right )^{2/3}-\frac {\left (12 a^2\right ) \int \frac {1}{\sqrt [3]{a+b x^2}} \, dx}{91 b}\\ &=\frac {12 a x \left (a+b x^2\right )^{2/3}}{91 b}+\frac {3}{13} x^3 \left (a+b x^2\right )^{2/3}-\frac {\left (18 a^2 \sqrt {b x^2}\right ) \operatorname {Subst}\left (\int \frac {x}{\sqrt {-a+x^3}} \, dx,x,\sqrt [3]{a+b x^2}\right )}{91 b^2 x}\\ &=\frac {12 a x \left (a+b x^2\right )^{2/3}}{91 b}+\frac {3}{13} x^3 \left (a+b x^2\right )^{2/3}+\frac {\left (18 a^2 \sqrt {b x^2}\right ) \operatorname {Subst}\left (\int \frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-x}{\sqrt {-a+x^3}} \, dx,x,\sqrt [3]{a+b x^2}\right )}{91 b^2 x}-\frac {\left (18 \sqrt {2 \left (2+\sqrt {3}\right )} a^{7/3} \sqrt {b x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-a+x^3}} \, dx,x,\sqrt [3]{a+b x^2}\right )}{91 b^2 x}\\ &=\frac {12 a x \left (a+b x^2\right )^{2/3}}{91 b}+\frac {3}{13} x^3 \left (a+b x^2\right )^{2/3}+\frac {36 a^2 x}{91 b \left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}-\frac {18 \sqrt [4]{3} \sqrt {2+\sqrt {3}} a^{7/3} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right )|-7+4 \sqrt {3}\right )}{91 b^2 x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}+\frac {12 \sqrt {2} 3^{3/4} a^{7/3} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right )|-7+4 \sqrt {3}\right )}{91 b^2 x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.05, size = 62, normalized size = 0.11 \[ \frac {3 x \left (a+b x^2\right )^{2/3} \left (-\frac {a \, _2F_1\left (-\frac {2}{3},\frac {1}{2};\frac {3}{2};-\frac {b x^2}{a}\right )}{\left (\frac {b x^2}{a}+1\right )^{2/3}}+a+b x^2\right )}{13 b} \]

Antiderivative was successfully verified.

[In]

Integrate[x^2*(a + b*x^2)^(2/3),x]

[Out]

(3*x*(a + b*x^2)^(2/3)*(a + b*x^2 - (a*Hypergeometric2F1[-2/3, 1/2, 3/2, -((b*x^2)/a)])/(1 + (b*x^2)/a)^(2/3))
)/(13*b)

________________________________________________________________________________________

fricas [F]  time = 0.93, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b x^{2} + a\right )}^{\frac {2}{3}} x^{2}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(b*x^2+a)^(2/3),x, algorithm="fricas")

[Out]

integral((b*x^2 + a)^(2/3)*x^2, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x^{2} + a\right )}^{\frac {2}{3}} x^{2}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(b*x^2+a)^(2/3),x, algorithm="giac")

[Out]

integrate((b*x^2 + a)^(2/3)*x^2, x)

________________________________________________________________________________________

maple [F]  time = 0.28, size = 0, normalized size = 0.00 \[ \int \left (b \,x^{2}+a \right )^{\frac {2}{3}} x^{2}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(b*x^2+a)^(2/3),x)

[Out]

int(x^2*(b*x^2+a)^(2/3),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x^{2} + a\right )}^{\frac {2}{3}} x^{2}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(b*x^2+a)^(2/3),x, algorithm="maxima")

[Out]

integrate((b*x^2 + a)^(2/3)*x^2, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.00 \[ \int x^2\,{\left (b\,x^2+a\right )}^{2/3} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a + b*x^2)^(2/3),x)

[Out]

int(x^2*(a + b*x^2)^(2/3), x)

________________________________________________________________________________________

sympy [A]  time = 0.91, size = 29, normalized size = 0.05 \[ \frac {a^{\frac {2}{3}} x^{3} {{}_{2}F_{1}\left (\begin {matrix} - \frac {2}{3}, \frac {3}{2} \\ \frac {5}{2} \end {matrix}\middle | {\frac {b x^{2} e^{i \pi }}{a}} \right )}}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(b*x**2+a)**(2/3),x)

[Out]

a**(2/3)*x**3*hyper((-2/3, 3/2), (5/2,), b*x**2*exp_polar(I*pi)/a)/3

________________________________________________________________________________________